package com.dongdongshop.service.impl;

import com.dongdongshop.mapper.TbOrderItemMapper;
import com.dongdongshop.service.OrderItemService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
@DubboService
public class OrderItemServiceImpl implements OrderItemService {

    @Resource
    private TbOrderItemMapper orderItemMapper;

    @Override
    public void update(String outTradeNo, String s) {
        orderItemMapper.update(outTradeNo,s);
    }

    @Override
    public void updateAll(String outTradeNo, String tradeNo) {
        orderItemMapper.updateAll(outTradeNo,tradeNo);
    }
}
